<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__PUBLIC__/static/css/bootstrap.min.css">
    <script type="text/javascript" src="__PUBLIC__/static/js/jquery.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/static/css/style.css">
    <title>后台管理</title>
</head>
<if condition="$Think.session.user.userid neq ''">
<else />
<script>
    alert("请登陆..");
window.location.href="__URL__/loginRedirect";
</script>
</if>
<body>
<div class=" my_main_container">
    <nav role="navigation" class="navbar navbar-inverse navbar-static my_nav">
        <div class="container">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button data-target=".bs-example-js-navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a href="__APP__/Home/Index/Index" class="navbar-brand">前台</a>
                </div>
                <div class="collapse navbar-collapse bs-example-js-navbar-collapse">
                    <ul class="nav navbar-nav">
                        <li role="presentation">
                            <a href="__URL__/getAllNews" tabindex="-1" role="menuitem">所有新闻</a>
                        </li>
                        <li role="presentation">
                            <a href="__URL__/addNews" tabindex="-1" role="menuitem">添加新闻</a>
                        </li>
                        <li role="presentation">
                            <a href="__URL__/getAllContact" tabindex="-1" role="menuitem">收到反馈</a>
                        </li>
                    </ul>
                    <ul class="nav navbar-nav navbar-right">
                        <li role="presentation">
                            <a href="#" tabindex="-1" role="menuitem">欢迎，{$Think.session.user.username} </a>
                        </li>
                        <li role="presentation">
                            <a  href="__URL__/logout"  >登出</a> </li>
                    </ul>
                </div>
            </div>
            <!-- /.nav-collapse --> </div>
        </nav></div></body></html>